﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdapterPattern
{
    class Program
    {
    
        static void Main(string[] args)
        {
            // Non-adapted chemical compound

            Compound_Adapter unknown = new Compound_Adapter("Unknown");

            unknown.Display();
             
            // Adapted chemical compounds

            Compound_Adapter water = new RichCompound_target("Water");

            water.Display();
             

            Compound_Adapter benzene = new RichCompound_target("Benzene");

            benzene.Display();
             

            Compound_Adapter ethanol = new RichCompound_target("Ethanol");

            ethanol.Display(); 

            // Wait for user

            Console.ReadKey();  
        }
    }
}
